__author__ = 'Soul'

class DbConnection:
    def type(self): pass
    def close(self): pass

    # operations
    def do_insert(self, sql, params = None): pass
    def do_insert_many(self, sql, params = None): pass
    def do_update(self, sql, params = None): pass
    def do_delete(self, sql, params = None): pass
    def select_one(self, sql, params = None): pass
    def select_all(self, sql, params = None): pass